package com.coderman.basketball.statistics.service.eventhandler;

import com.coderman.basketball.statistics.dto.GameEventDTO;
import com.coderman.basketball.statistics.service.EventHandler;
import com.coderman.basketball.statistics.service.EventTag;

/**
 * Description:
 * date: 2021/5/28
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 * 比赛结束事件
 */
@EventTag(eventType = "game_over")
public class GameOverEventHandler implements EventHandler {
    @Override
    public boolean execute(GameEventDTO gameEventDTO) {
        //1.统计球员上场时间
        //2.清空缓存数据
        //3.发送消息--->basketballDemo项目进行消费
        return false;
    }
}
